package net.aetherial.context.grounding.estimators;

/**
 * A dummy estimator used for testing the system.
 */

public class DummyEstimator extends Estimator 
{
	/**
	 * Generates random estimates.
	 * 
	 * @see net.aetherial.context.grounding.estimators.Estimator#estimate(java.lang.String, java.lang.String, double)
	 */
	
	public double estimate (String sender, String contribution, double score) 
	{
		return Math.random ();
	}
	
	/**
	 * Returns "DummyEstimator".
	 * 
	 * @see net.aetherial.context.grounding.estimators.Estimator#getName()
	 */

	public String getName() 
	{
		return "DummyEstimator";
	}
}
